﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

using QuDao;
using FineUICore;
using Kalman;
using Kalman.Extensions;

namespace AdminUI.Pages.Mall
{
    public partial class OrderDetailsModel : BaseModel
    {
        public void OnGet(long id)
        {
            Current = OrderBO.Instance.GetDetails(id);
            ViewBag.OrderItems = OrderItemBO.Instance.GetList(id);
        }

        public OrderDetailsDto Current { get; set; }


    }
}